<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>index</title>
    <style>
        div {
            margin-bottom: 5px;
        }
    </style>
</head>
<body>
    <h2>Hello World!</h2>

    <h3>springmvc 上传文件</h3>
    <form name="form1" action="/manage/product/upload.do" method="post" enctype="multipart/form-data">
        <div><input name="upload_file" type="file" /></div>
        <div><input type="submit" value="springmvc上传文件"/></div>
    </form>

    <h3>富文本图片上传</h3>
    <form name="form1" action="/manage/product/richtext_img_upload.do" method="post" enctype="multipart/form-data">
        <div><input name="upload_file" type="file" /></div>
        <div><input type="submit" value="富文本图片上传"/></div>
    </form>
</body>
</html>
